package cn.lyvust.mystatic;

/**
 * Description:
 * date: 2021-4-7 21:58
 *
 * @author Guo_guo
 * @since JDK 1.8
 */
public class PersonTest {
    public static void main(String[] args) {
        Person zhangsan = new Person();
        zhangsan.name = "张三";
        zhangsan. gender = "女";
        zhangsan.age = 22;
        Person.PERSON_LIVE = 1;
        Person.showDetailsStatic("李四", "男", 23);	//调用静态方法
        zhangsan.showDetailsNoStatic("王五", "男", 23);
    }
}
